package com.onekbase.demo.mybatis.service;


import com.onekbase.demo.mybatis.mapper.SysConfigMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class DemoService {
    @Resource
    SysConfigMapper mapper;

    public void hello(){
        System.out.println("hello from demo service");
        Object oo = mapper.selectConfig("key.hello");
        System.out.println(oo);
    }
}
